* {
  margin: 0;
  padding: 0;
}
a {
  color: unset;
  text-decoration: none;
}
.section1 {
  background: url(../images/01.jpg) center center/cover no-repeat;
  width: 100%;
  height: 100vh;
  position: relative;
  color: white;
}
.container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.container h1 {
  font-size: 50px;
}
.container p {
  font-size: 30px;
}
.header-class {
  z-index: 1;
  position: absolute;
  right: 2%;
}
.header-class span {
  display: block;
  font-weight: bold;
  font-size: 30px;
}

.nav {
  background: white;
  transition: all 1s;
  font-size: 20px;
  font-weight: 500;
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-around;
 
}
.nav ul {
  list-style: none;
  overflow: hidden;
}
.nav li {
 margin: 0 40px; 
 
}
.nav a {
  line-height: 100px;
  text-decoration: none;
  color: black;
}
.nav a:hover{
  color: red;
}
/* add */
.nav a,
.nav li {
  display: inline-block;
  height: 100px;
}
.nav-active a {
  color: red !important;
}
/* ------ */
.section2 {
  background: #f5fffa;
  height: 100vh;
  width: 100%;
  position: relative;
}
.section2 h2 {
  font-size: 40px;
  line-height: 70px;
  border-bottom: #ef7674 5px solid;
  display: inline-block;
}
.section2-header {
  height: 50px;
  width: 100%;
  text-align: center;
  position: absolute;
  top: 13%;
}
.content {
  width: 1300px;
  height: 500px;
  position: absolute;
  top: 20%;
  left: 10%;
  text-align: center;
}
.content-first,
.content-second,
.content-third {
  width: 280px;
  height: 400px;
  margin: 64px;
  float: left;
}
.content i {
  font-size: 120px;
  color: #cd5c5c;
  display: block;
}
.content p {
  display: inline-block;
  font-size: 22px;
  padding: 20px 0;
}
.section3 {
  background: #f0ffff;
  height: 100vh;
  width: 100%;
  position: relative;
}
.section3-header {
  height: 50px;
  width: 100%;
  text-align: center;
  position: absolute;
  top: 13%;
}
.section3 h2 {
  font-size: 40px;
  line-height: 70px;
  border-bottom: #ef7674 5px solid;
  display: inline-block;
}
.section3-header p {
  font-size: 20px;
  display: block;
  padding-top: 20px;
}
.item {
  height: 400px;
  width: 100%;
  position: absolute;
  top: 40%;
  display: flex;
  justify-content: space-around;
}
.item-container {
  height: 380px;
  width: 300px;
  float: left;
  text-align: center;
}
.item-container img {
  height: 200px;
  width: 200px;
  display: block;
  margin: auto;
  padding-top: 70px;
  border-radius: 10%;
}
.item-container img:hover {
  -webkit-transform: scale(1.5, 1.5);
  -moz-transform: scale(1.5, 1.5);
  -transform: scale(1.5, 1.5);
  z-index: 9999;
  transition: all 1s;
}
.item p {
  font-size: 30px;
  display: inline-block;
  border-bottom: #ef7674 3px solid;
}
.section4 {
  background: #f0f8ff;
  height: 100vh;
  width: 100%;
  position: relative;
}
.section4-header {
  height: 50px;
  width: 100%;
  text-align: center;
  position: absolute;
  top: 13%;
}
.section4 h2 {
  font-size: 40px;
  line-height: 70px;
  border-bottom: #ef7674 5px solid;
  display: inline-block;
}
.section4-header p {
  font-size: 20px;
  display: block;
  padding-top: 20px;
}
.hobby {
  width: 100%;
  height: 400px;
  position: absolute;
  top: 40%;
  display: flex;
  justify-content: space-around;
}
.hobby-container {
  height: 380px;
  width: 450px;
  float: left;
  text-align: center;
}
.hobby-container img {
  display: block;
  height: 300px;
  width: 420px;
  margin: auto;
  cursor: pointer;
}
.hobby-container:hover img {
  -webkit-transform: scale(1.1, 1.1);
  -moz-transform: scale(1.1, 1.1);
  -transform: scale(1.1, 1.1);
  z-index: 9999;
  transition: all 1s;
  box-shadow: 0px 0px 20px 10px grey;
}
/*.p1 {
  display: block;
  position: absolute;
  top: 7%;
  left: 9%;
  font-size: 20px;
  color: white;
  cursor: pointer;
  display: none;
}
.p2 {
  display: block;
  position: absolute;
  top: 7%;
  left: 39%;
  font-size: 20px;
  color: white;
  cursor: pointer;
  display: none;
}
.p3 {
  display: block;
  position: absolute;
  top: 7%;
  left: 72%;
  font-size: 20px;
  color: white;
  cursor: pointer;
  display: none;
}
/* add */
.hobby-container {
  position: relative;
}
.hobby-container p {
  position: absolute;
  height: 100%;
  width: 100%;
  color: white;
  font-size: 20px;
  display: none;
  cursor: pointer;
  top: 0;
  left: 0;
  display: none;
  justify-content: center;
  align-items: center;
}
/* --------- */
.hobby-container:hover p {
  animation: zoomOut 0.5s ease 1s forwards;
  display: flex;
}
@keyframes zoomOut {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(0);
  }
}

.section5 {
  background: #e6e6fa;
  height: 100vh;
  width: 100%;
  position: relative;
}
.section5 h2 {
  font-size: 40px;
  line-height: 70px;
  border-bottom: #ef7674 5px solid;
  display: inline-block;
}
.section5-header {
  height: 50px;
  width: 100%;
  text-align: center;
  position: absolute;
  top: 13%;
}
.contact {
  position: absolute;
  top: 50%;
  left: 27%;
}
.contact i {
  font-size: 35px;
  display: inline-block;
  margin: 0 50px;
  color: black;
  border-radius: 30%;
}
.contact i:hover {
  transform: scale(1.1, 1.1);
  z-index: 9999;
  transition: all 1s;
  background-color: black;
  color: white;
  -webkit-transform: scale(1.1, 1.1);
  -moz-transform: scale(1.1, 1.1);
  -ms-transform: scale(1.1, 1.1);
  -o-transform: scale(1.1, 1.1);
}

.contact-icon {
  position: relative;
}
/* add */
.contact-icon img {
  display: none;
  position: absolute;
  top: 35px;
  left: 50%;
  width: 150px;
  transform: translate(-50%, 0%);
  -webkit-transform: translate(-50%, 0%);
  -moz-transform: translate(-50%, 0%);
  -ms-transform: translate(-50%, 0%);
  -o-transform: translate(-50%, 0%);
}
.contact-icon:hover img {
  display: block;
}
/* ------- */
.contactme {
  position: absolute;
  line-height: 55px;
  width: 185px;
  top: 70%;
  right: 20%;
  font-size: 30px;
  text-align: center;
  border-radius: 10%;
  cursor: pointer;
  color: #EEC900;
}
.contactme i{
  font-size: 30px;
  display: inline-block;
  margin-right:10px;
}
.contactme p:hover {
  z-index: 9999;
  transition: all 1s;
  background-color: black;
  border-radius: 30%;
  color: white;
  -webkit-transform: scale(1.2, 1.2);
  -moz-transform: scale(1.2, 1.2);
  -ms-transform: scale(1.2, 1.2);
  -o-transform: scale(1.2, 1.2);
  transform: scale(1.2, 1.2);
}
.profile{
  display: flex;
}
.personal{
  align-self: center;
  background: url(../images/head.png) content-box center / 100% no-repeat;
  margin: 0 5px;
  width: 40px;
  height: 40px;
  padding: 3px;
  border: 1px solid #EEC900;
  border-radius: 50%;
  cursor: pointer;
}
.personal:hover{
  box-shadow: 0 0 10px 2px #EEC900
}
.drop-list{
  display: none;
  flex-direction: column;
  border-radius: 10%;
  box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.2);
  height: 300px;
}
.drop-list a{
  text-decoration: none;
  color: white;
}
.section1 ul:hover{
  
  display: flex;
}
 .section1 ul {
  font-size: 20px;
  height: 330px;
  line-height: 56px;
  padding: 5px 20px;
  float: left;
  list-style: none;
}
.dropdown:hover .drop-list{
  display: flex;
}
.drop-list a:hover{
  color: #EEC900;
}
.section6{
  height: 100vh;
  width: 100%;
  background: 	#F0FFF0;
  position: relative;
}
.section6-header{
  position: absolute;
  width: 100%;
  height: 50px;
  top: 13%;
  text-align: center;
}
.section6-header h2{
  font-size: 40px;
  line-height: 70px;
  border-bottom: #ef7674 5px solid;
  display: inline-block;
}
.section6-header p{
  font-size: 20px;
  display: block;
  padding-top: 20px;
}
.skills{
  height: 400px;
  width: 900px;
  position: absolute;
  top: 35%;
  left: 22%;

}
.skills li{
  list-style: none;
  position: relative;
  font-size: 20px;
  margin: 20px;
}
.skills ul li .max {
  display: inline-block;
  width: 800px;
  height: 30px;
  background-color: #EEC900;
  border-radius: 20px;
}
.skills ul li .htmlcss {
  position: absolute;
  left: 0;
  display: inline-block;
  width: 700px;
  height: 30px;
  background-color: palevioletred;
  border-radius: 20px;
}
.skills ul li .js {
  position: absolute;
  left: 0;
  display: inline-block;
  width: 620px;
  height: 30px;
  background-color: #3250b4;
  border-radius: 20px;
}
.skills ul li .vue {
  position: absolute;
  left: 0;
  display: inline-block;
  width: 450px;
  height: 30px;
  background-color: green;
  border-radius: 20px;
}
.skills ul li .small {
  position: absolute;
  left: 0;
  display: inline-block;
  width: 550px;
  height: 30px;
  background-color: purple;
  border-radius: 20px;
}
.skills ul li .else {
  position: absolute;
  left: 0;
  display: inline-block;
  width: 580px;
  height: 30px;
  background-color: tomato;
  border-radius: 20px;
}
.main {
  width: 900px;
  height: 200px;
  position: absolute;
  bottom: 12%;
  
  left: 20%;
}
.main p{
  text-indent: 2em;
  font-size: 18px;
}
.section5-header p{
  font-size: 20px;
  display: block;
  padding-top: 20px;
}
.footer{
  position:absolute;
  bottom: 0;
  left: 30%;
  height: 80px;
  width: 600px;

  text-align: center;
}
.footer a{
  text-decoration: none;
  color: black;
  margin: 0 15px;
}
.footer a:hover{
  color: #EEC900;
}
.others{
  position: absolute;
  bottom: 20%;
  right: 10%;
 
  font-size: 17px;
}
.others a{
  text-decoration: none;
  
}
.others i{
  color: orange;
}
.others a:hover{
  border-bottom: purple solid 2px;
}